home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr46
/
vfwdk.zip
/
VFWSDK.ZIP
/
SAMPLES
/
WRITEAVI
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-01-28
|
2KB
|
70 lines
#
# makefile for Icmapp sample application
#
# (C) Copyright Microsoft Corp. 1991, 1992, 1993. All rights reserved.
#
# You have a royalty-free right to use, modify, reproduce and
# distribute the Sample Files (and/or any modified version) in
# any way you find useful, provided that you agree that
# Microsoft has no warranty obligations or liability for any
# Sample Application Files.
#
!if "$(DEBUG)" == "NO"
COPT =
MOPT =
LOPT =
DEF =
!else
COPT = -Zi -Fc
MOPT = -Zi -L
LOPT = /CO
DEF = -DDEBUG
!endif
CC = cl -c -nologo -AS -G2s -Zp -W3 -Oxwti -I. $(DEF) $(COPT)
RC = rc $(DEF)
ASM = masm -Mx -t $(MOPT) $(DEF)
LINK = link $(LOPT)/NOD/NOE/MAP/NOPACKC/AL:16
NAME= writeavi
EXENAME=writeavi.exe
OBJ = writeavi.obj avieasy.obj muldiv32.obj
##LIBS = libw slibcew mmsystem commdlg vfw
LIBS = libw slibcew mmsystem commdlg msvideo
.c.obj:
$(CC) $*.c
.asm.obj:
$(ASM) $*;
.rc.res:
$(RC) -r $*.rc
goal: $(EXENAME)
$(EXENAME): $(OBJ) $(NAME).res $(NAME).def makefile
$(LINK) @<<
$(OBJ),
$(EXENAME),
$(NAME),
$(LIBS),
$(NAME).def
<<
-cvpack -p $(EXENAME)
-mapsym $(NAME).map
$(RC) $(NAME).res $(EXENAME)
copy $(NAME).exe ..\..\bin
clean:
del $(EXENAME)
del *.res
del *.obj
del *.map
del *.sym
del *.cod
del *.lst